package com.sunwayworld.common.utils;

import java.util.ArrayList;

import java.util.HashMap;

/**
 * 
 * <p>
 * Title: VCommList 数据 (包含分页信息)
 * </p>
 * 
 * <p>
 * Description: 数据 (主ArrayList 中包含Object ,分页信息,合计信息)
 * </p>
 * 
 * <p>
 * Copyright: Copyright (c) 2005
 * </p>
 * 
 * <p>
 * Company:
 * </p>
 * 
 * @author lim
 * @version 1.0
 */
public class VCommList extends ArrayList {


	private static final long serialVersionUID = 1L;

	private int currPage; // 当前页面

	private int num; // 记录总行数

	private int numPerPage; // 每页显示行数

	private int pageNum; // 页数

	private HashMap sumInfo = new HashMap(); // 合计的HashMap

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public void setNumPerPage(int numPerPage) {
		this.numPerPage = numPerPage;
	}

	public int getNumPerPage() {
		return numPerPage;
	}

	public void setCurrPage(int currPage) {
		this.currPage = currPage;
	}

	public int getCurrPage() {
		return currPage;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public void setSumInfo(HashMap sumInfo) {
		this.sumInfo = sumInfo;
	}

	public int getPageNum() {
		return pageNum;
	}

	public HashMap getSumInfo() {
		return sumInfo;
	}

}
